package com.netty.service;

import java.util.Map;

import com.netty.anno.AutoDi;
import com.netty.anno.Mapping;
import com.netty.anno.Service;
import com.netty.http.HttpResponseMsg;

@Service("/test")
public class BusinessService {
	
	@AutoDi
	String value;
	
	@Mapping(value="/test", dataType="application/json")
	public String test(Map<String,Object> params){
		System.out.println("哈哈");
		System.out.println(params.toString());
		return "hello world";
	}
}
